import type { Application } from "../../App";

export function initContainer(ctx: Application, container: HTMLElement) {
  const inner_container = document.createElement("div") as HTMLElement;
  inner_container.style.width = "100%";
  inner_container.style.height = "100%";
  container.append(inner_container);
  // !! 强行设置
  inner_container.style.cursor = "default";
  container.style.position = "relative";
  return { container, inner_container };
}
